import { sidebar } from "docs-shared";

export const enSidebarConfig = sidebar({
  "/": [
    "",
    {
      text: "Guide",
      icon: "creative",
      prefix: "guide/",
      children: [
        "",
        "container",
        "tabs",
        "code-tabs",
        "sup-sub",
        "align",
        "attrs",
        "footnote",
        "mark",
        "tasklist",
        "image",
        "include",
        "chart",
        "echarts",
        "flowchart",
        "mermaid",
        "tex",
        "playground",
        "vue-playground",
        {
          text: "Code Demo",
          icon: "discover",
          prefix: "demo/",
          collapsable: true,
          children: ["", "normal", "vue", "react"],
        },
        {
          text: "Presentation",
          icon: "slides",
          prefix: "presentation/",
          collapsable: true,
          children: ["", "demo", "themes"],
        },
        "stylize",
        "others",
      ],
    },
    "config",
    "migration",
    "demo",
  ],

  "/guide/": [
    "",
    "container",
    "tabs",
    "code-tabs",
    "sup-sub",
    "align",
    "attrs",
    "footnote",
    "mark",
    "tasklist",
    "image",
    "include",
    "chart",
    "echarts",
    "flowchart",
    "mermaid",
    "tex",
    "playground",
    "vue-playground",
    {
      text: "Code Demo",
      icon: "discover",
      prefix: "demo/",
      collapsable: true,
      children: ["", "normal", "vue", "react"],
    },
    {
      text: "Presentation",
      icon: "slides",
      prefix: "presentation/",
      collapsable: true,
      children: ["", "demo", "themes"],
    },
    "stylize",
    "others",
  ],
});

export const zhSidebarConfig = sidebar({
  "/zh/": [
    "",
    {
      text: "指南",
      icon: "creative",
      prefix: "guide/",
      children: [
        "",
        "container",
        "tabs",
        "code-tabs",
        "sup-sub",
        "align",
        "attrs",
        "footnote",
        "mark",
        "tasklist",
        "image",
        "include",
        "chart",
        "echarts",
        "flowchart",
        "mermaid",
        "tex",
        "playground",
        "vue-playground",
        {
          text: "代码演示",
          icon: "discover",
          prefix: "demo/",
          collapsable: true,
          children: ["", "normal", "vue", "react"],
        },
        {
          text: "幻灯片",
          icon: "slides",
          prefix: "presentation/",
          collapsable: true,
          children: ["", "demo", "themes"],
        },
        "stylize",
        "others",
      ],
    },
    "config",
    "migration",
    "demo",
  ],

  "/zh/guide/": [
    "",
    "container",
    "tabs",
    "code-tabs",
    "sup-sub",
    "align",
    "attrs",
    "footnote",
    "mark",
    "tasklist",
    "image",
    "include",
    "chart",
    "echarts",
    "flowchart",
    "mermaid",
    "tex",
    "playground",
    "vue-playground",
    {
      text: "代码演示",
      icon: "discover",
      prefix: "demo/",
      collapsable: true,
      children: ["", "normal", "vue", "react"],
    },
    {
      text: "幻灯片",
      icon: "slides",
      prefix: "presentation/",
      collapsable: true,
      children: ["", "demo", "themes"],
    },
    "stylize",
    "others",
  ],
});
